/************************************************************
   Copyright 2008 Abhinav Pobbati

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
*************************************************************/

#pragma once
#include "Havok4Xna/Physics/Collide/Agent/HkpAgent.h"

#pragma unmanaged
#include <Physics/Internal/Collide/BroadPhase/hkpBroadPhaseHandle.h>
#include <Physics/Internal/Collide/BroadPhase/hkpBroadPhaseHandlePair.h>
#include <Physics/Internal/Collide/BroadPhase/hkpBroadPhaseCastCollector.h>
#include <Physics/Internal/Collide/Mopp/Machine/hkpMoppModifier.h>
#include <Physics/Internal/Collide/Mopp/Machine/hkp26Dop.h>
#include <Physics/Internal/Collide/BroadPhase/hkpBroadPhase.h>
#include <Physics/Internal/Collide/Agent3/hkpAgent3.h>
#include <Physics/Internal/Collide/Util/hkpCollideTriangleUtil.h>
#include <Physics/Internal/Collide/Agent3/Machine/Nn/hkpLinkedCollidable.h>
#pragma managed

using namespace Havok4Xna::Physics::Collide;

namespace Havok4Xna {
	namespace Physics {
		namespace Internal {
			public interface class HkpBroadPhaseCastCollector : public INativeReference {
				
			};

			public interface class HkpMoppModifier : public INativeReference {

			};

			public ref class HkpBroadPhaseHandle : public INativeReference {
			internal:
				HK_CLASS_INTERNALS(HkpBroadPhaseHandle, hkpBroadPhaseHandle)
			};

			public ref class HkpBroadPhaseHandlePair : public INativeReference {
			internal:
				HK_CLASS_INTERNALS(HkpBroadPhaseHandlePair, hkpBroadPhaseHandlePair)
			};

			public ref class Hkp26Dop : public INativeReference {
			internal:
				HK_CLASS_INTERNALS(Hkp26Dop, hkp26Dop)
			};

			public ref class HkpBroadPhase : public INativeReference {
			public:
				ref class HkpCastAabbInput : public INativeReference {
				internal:
					HK_CLASS_INTERNALS(HkpCastAabbInput, hkpBroadPhase::hkpCastAabbInput)
				};
				ref class HkpCastRayInput : public INativeReference {
				internal:
					HK_CLASS_INTERNALS(HkpCastRayInput, hkpBroadPhase::hkpCastRayInput)
				};

			internal:
				HK_CLASS_INTERNALS(HkpBroadPhase, hkpBroadPhase)
			};

			public ref class HkpAgent3Input : public INativeReference {
			internal:
				HK_CLASS_INTERNALS(HkpAgent3Input, hkpAgent3Input)
			};

			public ref class HkpAgentEntry : public INativeReference {
			internal:
				HK_CLASS_INTERNALS(HkpAgentEntry, hkpAgentEntry)
			};

			public ref class HkpCollideTriangleUtil : public INativeReference {
			public:
				ref class ClosestPointTriangleCache : public INativeReference {
				internal:
					HK_CLASS_INTERNALS(ClosestPointTriangleCache, hkpCollideTriangleUtil::ClosestPointTriangleCache)
				};

			internal:
				HK_CLASS_INTERNALS(HkpCollideTriangleUtil, hkpCollideTriangleUtil)
			};

			

			public ref class HkpLinkedCollidable : public HkpCollidable {
			internal:
				HK_DERIVED_CLASS_INTERNALS(HkpLinkedCollidable, hkpLinkedCollidable, HkpCollidable)
			};
		}
	}
}
